<div class="row" >
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>员工管理</h5>
                <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#addStaffModel">添加员工</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover dataTables-example">
                        <thead>
                            <tr>
                                <th>员工ID</th>
                                <th>名称</th>
                                <th>邮箱</th>
                                <th>地址</th>
                                <th>性别</th>
                                <th>手机号</th>
                                <th>状态</th>
                                <th>创建时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="gradeX" v-for="staff in staffData">
                                <td>{{staff.userId}}</td>
                                <td>{{staff.name}}</td>
                                <td>{{staff.email}}</td>
                                <td>{{staff.address}}</td>
                                <td>{{staff.sex == 0 ? '男' : '女'}}</td>
                                <td>{{staff.tel}}</td>
                                <td>{{staff.statusCd == 0 ? '在用':'停用'}}</td>
                                <td>{{vc.dateFormat(staff.createTime)}}</td>
                                <td>
                                    <i class="glyphicon glyphicon-edit" style="color: #17a2b8;" v-on:click="openEditStaff(staff)"></i>
                                    <i v-if="staff.relCd != 600311000001" class="glyphicon glyphicon-remove-sign"
                                       style="color: #dc3545;margin-left:5px"
                                        v-on:click="openDeleteStaff(staff)"></i>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create name="pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>